package entity.marketingEntity;

import java.util.Date;

public class FlashSaleActivity {
    private Integer flash_sale_activity_id;

    private String flash_sale_activity_title;

    private Date activity_start_time;

    private Date activity_end_time;

    private Integer state;

    public Integer getFlash_sale_activity_id() {
        return flash_sale_activity_id;
    }

    public void setFlash_sale_activity_id(Integer flash_sale_activity_id) {
        this.flash_sale_activity_id = flash_sale_activity_id;
    }

    public String getFlash_sale_activity_title() {
        return flash_sale_activity_title;
    }

    public void setFlash_sale_activity_title(String flash_sale_activity_title) {
        this.flash_sale_activity_title = flash_sale_activity_title == null ? null : flash_sale_activity_title.trim();
    }

    public Date getActivity_start_time() {
        return activity_start_time;
    }

    public void setActivity_start_time(Date activity_start_time) {
        this.activity_start_time = activity_start_time;
    }

    public Date getActivity_end_time() {
        return activity_end_time;
    }

    public void setActivity_end_time(Date activity_end_time) {
        this.activity_end_time = activity_end_time;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", flash_sale_activity_id=").append(flash_sale_activity_id);
        sb.append(", flash_sale_activity_title=").append(flash_sale_activity_title);
        sb.append(", activity_start_time=").append(activity_start_time);
        sb.append(", activity_end_time=").append(activity_end_time);
        sb.append(", state=").append(state);
        sb.append("]");
        return sb.toString();
    }
}